Skip to content

Store adapter — SPS Commerce

The adapter object contains properties for connecting to the SPS Commerce API.

Parent object: a store with property "platform" : "sps_commerce"

Required properties

The following adapter properties are required for SPS Commerce stores.

password

Propertypassword
NameSPS Commerce SFTP Password
Data typestring
Required?Yes

trading_partner_id

Propertytrading_partner_id
NameVendor Trading Partner ID
Data typestring
Required?Yes

username

Propertyusername
NameSPS Commerce SFTP Username
Data typestring
Required?Yes

Example

Example: create a new SPS Commerce store
curl -X POST \
    -H "Authorization: Bearer $JWT_TOKEN" \
    -H "Content-Type: application/json" \
    https://api.getdropstream.com/stores \
    -d @- <<EOF
{ "customer_id": "3775",
  "name": "Your SPS Commerce Store",
  "platform": "sps_commerce",
  "adapter": {
    "username": "abc123",
    "password": "abc123",
    "trading_partner_id": "abc123"
  }
}
EOF

For details about this request type, see: Create a new store.